﻿using Magicodes.ExporterAndImporter.Core;
using NP.BPMReportPlatform.Entities.BPM_Business;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.EmpCertification.Dto
{
    /// <summary>
    /// 请休假输出表
    /// </summary>
    public class GetEmpCertResultOutput : EmpCertificationEntity
    {
        /// <summary>
        /// 添加日期
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? FinishTime { get; set; }
    }

    public class EmpCertExportDto
    {
        /// <summary>
        /// 流程ID
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [ExporterHeader(DisplayName = "用户名")]
        public string UserName { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string StatusName { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        [ExporterHeader(DisplayName = "工号")]
        public string WorkNumber { get; set; }

        /// <summary>
        /// 所属区域
        /// </summary>
        [ExporterHeader(DisplayName = "所属区域")]
        public string UserArea { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        [ExporterHeader(DisplayName = "联系地址")]
        public string ContractAddress { get; set; }

        /// <summary>
        /// 员工关系
        /// </summary>
        [ExporterHeader(DisplayName = "员工关系")]
        public string ErName { get; set; }

        /// <summary>
        /// 薪资专员
        /// </summary>
        [ExporterHeader(DisplayName = "薪资专员")]
        public string XzName { get; set; }

        /// <summary>
        /// 证明类型名称
        /// </summary>
        [ExporterHeader(DisplayName = "证明类型")]
        public string CertTypeName { get; set; }

        /// <summary>
        /// 证明用途
        /// </summary>
        [ExporterHeader(DisplayName = "证明用途")]
        public string UseReason { get; set; }

        /// <summary>
        /// 证明模版
        /// </summary>
        [ExporterHeader(DisplayName = "证明模版")]
        public string CertTemplate { get; set; }

        /// <summary>
        /// 印章类型
        /// </summary>
        [ExporterHeader(DisplayName = "印章类型")]
        public string SealType { get; set; }

        /// <summary>
        /// 证明获取方式
        /// </summary>
        [ExporterHeader(DisplayName = "证明获取方式")]
        public string CertGetFun { get; set; }

        /// <summary>
        /// 收件人姓名
        /// </summary>
        [ExporterHeader(DisplayName = "收件人姓名")]
        public string MailUserName { get; set; }

        /// <summary>
        /// 收件人电话
        /// </summary>
        [ExporterHeader(DisplayName = "收件人电话")]
        public string MailPhone { get; set; }

        /// <summary>
        /// 收件人地址
        /// </summary>
        [ExporterHeader(DisplayName = "收件人地址")]
        public string MailAddress { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExporterHeader(DisplayName = "备注")]
        public string Remark { get; set; }

        /// <summary>
        /// 电子签流程id
        /// </summary>
        [ExporterHeader(DisplayName = "电子签id")]
        public string SignFlowId { get; set; }

        /// <summary>
        /// 签署结果描述
        /// </summary>
        [ExporterHeader(DisplayName = "签署结果描述")]
        public string SignErrorMsg { get; set; }

        [ExporterHeader(DisplayName = "授权码")]
        public string RiskCode { get; set; }

        [ExporterHeader(DisplayName = "Risk推送结果")]
        public string RiskRiskPushStatus { get; set; }

        [ExporterHeader(DisplayName = "Risk错误原因")]
        public string RiskPushErrorMsg { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        [ExporterHeader(DisplayName = "申请日期")]
        public string AddTime { get; set; }

        /// <summary>
        /// 审批结束日期
        /// </summary>
        [ExporterHeader(DisplayName = "完成日期")]
        public string FinishTime { get; set; }
    }
}
